import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';

class BottomNavBar extends StatelessWidget {
  const BottomNavBar({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    List<String> list = [
      "assets/icons/home.svg",
      "assets/icons/Following.svg",
      "assets/icons/Glyph.svg",
      "assets/icons/person.svg"
    ];
    return Container(
      height: 75,
      padding: EdgeInsets.symmetric(horizontal: 35),
      width: double.infinity,
      decoration: BoxDecoration(
          borderRadius: BorderRadius.only(
            topLeft: Radius.circular(20),
            topRight: Radius.circular(20),
          ),
          boxShadow: [
            BoxShadow(
              offset: Offset(0, -7),
              blurRadius: 33,
              color: Color(0xFF6DAED9).withOpacity(0.11),
            ),
          ]),
      child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: list
              .map((e) =>
                  IconButton(icon: SvgPicture.asset(e), onPressed: () {}))
              .toList()),
    );
  }
}
